#ifndef PASSWORD_H
/*
This file is part of "hp-like 4x4 keypad library".

"hp-like 4x4 keypad library" is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

"hp-like 4x4 keypad library" is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with "hp-like 4x4 keypad library".  If not, see <http://www.gnu.org/licenses/>.

Copyleft: kenzanin[at]gmail[dot]com ||suka[dot]isnaini[at]politeknikaceh[dot]ac[dot]id
forum: solderen.tk/forum
*/

#define PASSWORD_H 1

#define MAX_PASS            6
#define KEYPAD_JEDA         10
#define POSISI_PASSWORD_X   0
#define POSISI_PASSWORD_Y   0

/** \brief
 * initialisasi penggunaan password untuk keypad
 *
 * \param none
 * \return none
 *
 */
void password_init(void);

void password_masuk(void);
int8_t password_check(void);

extern char password[];
extern int8_t password_ke;
#define ALAMAT_PASSWORD_EEPROM 0x00

#endif
